<%@ page language="java" contentType="text/html; charset=utf-8"
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Hello World</title>
</head>
<body>
<h1>修改昵称</h1>
<form action="update">
    <input type="text" name="id" value="${id}" hidden="true">
    原昵称:<input type="text" name="inp" value="<s:property value="name"/>" disabled="true">
    新昵称:<input type="text" name="name"/>
    <input type="submit" value="确定修改"/>
</form>
<button onclick="javascript:history.back(-1);"/> '">返回上一页</button>
</body>
</html>